﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity
{
    public enum UserTypes
    {
        /// <summary>
        /// 普通用户
        /// </summary>
        [Description("普通用户")]
        General,

        /// <summary>
        /// 店铺用户
        /// </summary>
        [Description("店铺用户")]
        ShopManager,
    }
    /// <summary>
    /// 积分类型
    /// </summary>
    public enum IntegralType
    {
        /// <summary>
        /// 消费
        /// </summary>
        [Description("交易获得")]
        Consumption = 1,

        [Description("积分抵扣")]
        Exchange = 2,
        /// <summary>
        /// 会员邀请
        /// </summary>
        [Description("会员邀请")]
        InvitationMemberRegiste = 3,
        /// <summary>
        /// 返利积分
        /// </summary>
        //[Description("返利积分")]
        //ProportionRebate = 4,
        /// <summary>
        /// 每日登录
        /// </summary>
        [Description("每日登录")]
        Login = 5,
        /// <summary>
        /// 绑定微信
        /// </summary>
        [Description("绑定微信")]
        BindWX = 6,
        /// <summary>
        /// 商品评论
        /// </summary>
        [Description("订单评价")]
        Comment = 7,
        /// <summary>
        /// 管理员操作
        /// </summary>
        [Description("管理员操作")]
        SystemOper = 8,
        /// <summary>
        /// 用户注册
        /// </summary>
        [Description("完善用户信息")]
        Reg = 9,

        [Description("取消订单")]
        Cancel = 10,

        [Description("其他")]
        Others = 11,
        /// <summary>
        /// 签到
        /// </summary>
        [Description("签到")]
        SignIn = 12,

        [Description("微信活动")]
        WeiActivity = 13,
        [Description("晒订单")]
        Share = 14,
    }

    public enum VirtualItemType
    {
        /// <summary>
        /// 兑换
        /// </summary>
        [Description("兑换")]
        Exchange = 1,
        [Description("邀请会员")]
        InvitationMember = 2,
        [Description("返利消费")]
        ProportionRebate = 3,
        [Description("评论")]
        Comment = 4,
        [Description("交易获得")]
        Consumption = 5,
        [Description("取消订单")]
        Cancel = 6,
        /// <summary>
        /// 晒单送积分
        /// </summary>
        [Description("晒单")]
        ShareOrder = 7
    }
    public enum AppIdTypeEnum
    {
        /// <summary>
        /// 支付的Appid
        /// </summary>
        Payment,
        /// <summary>
        /// 一般的Appid
        /// </summary>
        Normal
    }
}
